import { createRouter, createWebHistory } from 'vue-router'
import homePage from '@/index/homePage.vue'
import about from '@/index/about.vue'
import news from '@/index/news.vue'



const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/Home',
      name: 'homePage',
      component: homePage,
    },{
      path: '/About',
      name: 'about',
      component: about,
    },{
      path: '/News',
      name: 'news',
      component: news,
    },
  ],
})

export default router
